import React from "react";

// 定义主题样式
export const themes = {
    light: {
        foreground: '#000',
        background: '#eee'
    },
    dark: {
        foreground: '#fff',
        background: '#222'
    }
}

// 创建 ThemeContext
const ThemeContext = React.createContext(
    themes.dark // 指定默认值
);

ThemeContext.displayName = "ThemeContext"
export default ThemeContext